<?php
include_once('../lib_load.php');
load_lib('DbMysql');

$db = new DbMysql();

for ($i=0; $i<=7; $i++)
//{
if (in_array($i, array(0, 2, 4, 6)))
{
echo $i;
echo $i;
}
//}
/*
//var_dump($db->GetLine('groups, users, maps', '(groups.id = users.chosed_group) && (users.login = \'Meanor\') && (maps.name = \'academy\') LIMIT 1', 'groups.grname, users.login, maps.xmax'));

$db->Query('SELECT cells.x, cells.y, cells.solide FROM cells WHERE (x >= 6) && (y >= 6)
                                            && (x <= 8) && (y <= 8)
                                            && (mapname = \'academy\')');

        // transforming the result into query
$cell = $db->Query2Array('x');
//foreach ($cell as $id=>$data)
{
    var_dump($cell);
    echo '<br />';
    // $map_output .=  ($x == 21) ? '<div class="cell" style="background-image: url('.$cell[$id]['pic'].')"><div><div class="sep"></div>' : '<div class="cell" style="background-image: url('.$cell[$id]['pic'].')">';
}
 */

?>